package com.dlyk.service;

import com.dlyk.model.TActivity;
import com.dlyk.query.ActivityQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @description:
 * @author: ajie
 * @date: 2024/7/18 16:44:53
 * @version: 1.0
 */
public interface ActivityService {
    PageInfo<TActivity> getActivityByPage(Integer current, ActivityQuery activityQuery);

    int saveActivity(ActivityQuery activityQuery);

    TActivity getActivityById(Integer id);

    int updateActivity(ActivityQuery activityQuery);

    int delActivityById(Integer id);

    int batchDelActivityByIds(List<String> idList);

    List<TActivity> getOngoingActivity();

    List<TActivity> getActivityByAll();
}
